package com.ruoyi.fpa.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 外键关联对象 gen_reference_column
 * 
 * @author koradji@116.com
 * @date 2023-09-17
 */
public class GenReferenceColumn extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long referenceColumnId;

    /** 外键编号 */
    @Excel(name = "外键编号")
    private Long referenceId;

    /** 表编号 */
    @Excel(name = "表编号")
    private Long tableId;

    /** 字段编号 */
    @Excel(name = "字段编号")
    private Long columnId;

    public void setReferenceColumnId(Long referenceColumnId) 
    {
        this.referenceColumnId = referenceColumnId;
    }

    public Long getReferenceColumnId() 
    {
        return referenceColumnId;
    }
    public void setReferenceId(Long referenceId) 
    {
        this.referenceId = referenceId;
    }

    public Long getReferenceId() 
    {
        return referenceId;
    }
    public void setTableId(Long tableId) 
    {
        this.tableId = tableId;
    }

    public Long getTableId() 
    {
        return tableId;
    }
    public void setColumnId(Long columnId) 
    {
        this.columnId = columnId;
    }

    public Long getColumnId() 
    {
        return columnId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("referenceColumnId", getReferenceColumnId())
            .append("referenceId", getReferenceId())
            .append("tableId", getTableId())
            .append("columnId", getColumnId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
